use device_query::{DeviceQuery, DeviceState, Keycode};




fn main() 
{
    let device_state = DeviceState::new();
    
    let keys: Vec<Keycode> = device_state.get_keys();
    println!("Is CapsLock pressed? {}", keys.contains(&Keycode::CapsLock));    
}


